package top.frsf.dashboard.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author He Kuntao
 * @since 2025/6/3 13:59
 */
@Data
@Component
@ConfigurationProperties(prefix = "auth")
public class AuthProperties {
    /**
     * 密钥
     */
    private String secret;
    /**
     * 过期时间
     */
    private Long expire;
    /**
     * 用户名
     */
    private String username;
    /**
     * 密码
     */
    private String password;
}
